package pc29;

public class J15Ch05Printers {
	public static void main(String[] args){
		
	}
	

}

class printer {
	private String model; // 모델명 model
	private String manufacturer; // 제조사 maker
	private String interfacetype; // 인터페이스종류 
	private int printnumber; // 인쇄매수 counts
	private int printbalancenumber; // 인쇄종이잔량 remains
	
	public void print(){
		System.out.println("기본프린트로출력완료");

}

class inkjetprinter extends printer {
	private int inkbalance;
	
	public void print(){
		System.out.println("잉크프린트로출력완료");
	}


}

class laserprinter extends printer {
	private int tonerbalance;
	
	public void print(){
		System.out.println("레이저린트로출력완료");
	}
}

}